package com.priserve.retirement.entities;

// Generated Apr 27, 2013 9:50:19 PM by Hibernate Tools 4.0.0

import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.Table;

/**
 * Clientinformation generated by hbm2java
 */
@Entity
@Table(name = "clientinformation", catalog = "priserve")
public class Clientinformation implements java.io.Serializable {

	private Long clientId;
	private Advisor advisor;
	private String clientAddress;
	private String clientCountry;
	private String clientDob;
	private String clientEmail;
	private String clientFirstName;
	private String clientGender;
	private String clientImage;
	private String clientLastName;
	private String clientMiddleName;
	private String clientNotes;
	private String clientPhoneNumber;
	private String clientStateOfResidence;
	private String clientStatus;
	private String clientTitle;
	private Long clientZipCode;
	private Set<Partnerinformation> partnerinformations = new HashSet<Partnerinformation>(
			0);
	private Set<Dependentinformation> dependentinformations = new HashSet<Dependentinformation>(
			0);

	public Clientinformation() {
	}

	public Clientinformation(Advisor advisor, String clientAddress,
			String clientCountry, String clientDob, String clientEmail,
			String clientFirstName, String clientGender, String clientImage,
			String clientLastName, String clientMiddleName, String clientNotes,
			String clientPhoneNumber, String clientStateOfResidence,
			String clientStatus, String clientTitle, Long clientZipCode,
			Set<Partnerinformation> partnerinformations,
			Set<Dependentinformation> dependentinformations) {
		this.advisor = advisor;
		this.clientAddress = clientAddress;
		this.clientCountry = clientCountry;
		this.clientDob = clientDob;
		this.clientEmail = clientEmail;
		this.clientFirstName = clientFirstName;
		this.clientGender = clientGender;
		this.clientImage = clientImage;
		this.clientLastName = clientLastName;
		this.clientMiddleName = clientMiddleName;
		this.clientNotes = clientNotes;
		this.clientPhoneNumber = clientPhoneNumber;
		this.clientStateOfResidence = clientStateOfResidence;
		this.clientStatus = clientStatus;
		this.clientTitle = clientTitle;
		this.clientZipCode = clientZipCode;
		this.partnerinformations = partnerinformations;
		this.dependentinformations = dependentinformations;
	}

	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "clientId", unique = true, nullable = false)
	public Long getClientId() {
		return this.clientId;
	}

	public void setClientId(Long clientId) {
		this.clientId = clientId;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "advisorId")
	public Advisor getAdvisor() {
		return this.advisor;
	}

	public void setAdvisor(Advisor advisor) {
		this.advisor = advisor;
	}

	@Column(name = "clientAddress")
	public String getClientAddress() {
		return this.clientAddress;
	}

	public void setClientAddress(String clientAddress) {
		this.clientAddress = clientAddress;
	}

	@Column(name = "clientCountry")
	public String getClientCountry() {
		return this.clientCountry;
	}

	public void setClientCountry(String clientCountry) {
		this.clientCountry = clientCountry;
	}

	@Column(name = "clientDOB")
	public String getClientDob() {
		return this.clientDob;
	}

	public void setClientDob(String clientDob) {
		this.clientDob = clientDob;
	}

	@Column(name = "clientEmail")
	public String getClientEmail() {
		return this.clientEmail;
	}

	public void setClientEmail(String clientEmail) {
		this.clientEmail = clientEmail;
	}

	@Column(name = "clientFirstName")
	public String getClientFirstName() {
		return this.clientFirstName;
	}

	public void setClientFirstName(String clientFirstName) {
		this.clientFirstName = clientFirstName;
	}

	@Column(name = "clientGender")
	public String getClientGender() {
		return this.clientGender;
	}

	public void setClientGender(String clientGender) {
		this.clientGender = clientGender;
	}

	@Column(name = "clientImage")
	public String getClientImage() {
		return this.clientImage;
	}

	public void setClientImage(String clientImage) {
		this.clientImage = clientImage;
	}

	@Column(name = "clientLastName")
	public String getClientLastName() {
		return this.clientLastName;
	}

	public void setClientLastName(String clientLastName) {
		this.clientLastName = clientLastName;
	}

	@Column(name = "clientMiddleName")
	public String getClientMiddleName() {
		return this.clientMiddleName;
	}

	public void setClientMiddleName(String clientMiddleName) {
		this.clientMiddleName = clientMiddleName;
	}

	@Column(name = "clientNotes")
	public String getClientNotes() {
		return this.clientNotes;
	}

	public void setClientNotes(String clientNotes) {
		this.clientNotes = clientNotes;
	}

	@Column(name = "clientPhoneNumber")
	public String getClientPhoneNumber() {
		return this.clientPhoneNumber;
	}

	public void setClientPhoneNumber(String clientPhoneNumber) {
		this.clientPhoneNumber = clientPhoneNumber;
	}

	@Column(name = "clientStateOfResidence")
	public String getClientStateOfResidence() {
		return this.clientStateOfResidence;
	}

	public void setClientStateOfResidence(String clientStateOfResidence) {
		this.clientStateOfResidence = clientStateOfResidence;
	}

	@Column(name = "clientStatus")
	public String getClientStatus() {
		return this.clientStatus;
	}

	public void setClientStatus(String clientStatus) {
		this.clientStatus = clientStatus;
	}

	@Column(name = "clientTitle")
	public String getClientTitle() {
		return this.clientTitle;
	}

	public void setClientTitle(String clientTitle) {
		this.clientTitle = clientTitle;
	}

	@Column(name = "clientZipCode")
	public Long getClientZipCode() {
		return this.clientZipCode;
	}

	public void setClientZipCode(Long clientZipCode) {
		this.clientZipCode = clientZipCode;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "clientinformation")
	public Set<Partnerinformation> getPartnerinformations() {
		return this.partnerinformations;
	}

	public void setPartnerinformations(
			Set<Partnerinformation> partnerinformations) {
		this.partnerinformations = partnerinformations;
	}

	@OneToMany(fetch = FetchType.LAZY, mappedBy = "clientinformation")
	public Set<Dependentinformation> getDependentinformations() {
		return this.dependentinformations;
	}

	public void setDependentinformations(
			Set<Dependentinformation> dependentinformations) {
		this.dependentinformations = dependentinformations;
	}

}
